#pragma once
#include "..\CommonFiles\hxcWin.h"

class CShellListCtrl : public CMFCListCtrl
{
public:
    
};

class CAddressBar : public CWnd
{
    DECLARE_MESSAGE_MAP()
};


class CMainFrame : public CFrameWndEx
{
public:
    CMainFrame();
    ~CMainFrame();
public:
    virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
    virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);

    void Dump(CDumpContext& dc) const;
    void AssertValid() const;
protected:
    DECLARE_MESSAGE_MAP()
    DECLARE_DYNAMIC(CMainFrame)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnSetFocus(CWnd *pOldWnd);
    afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
    afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
protected:
    IImageList* m_ThumbnailImageList;
    CMFCMenuBar m_MenuBar;
    CTreeCtrl m_TreeCtrl;
    CShellListCtrl m_SHItemList;
    hxc::CFakeMenuT<hxc::OrdinaryMenu> m_wndMenuBar;
    CAddressBar m_wndMenu;
};